package tree;

/**
 *
 * @author honzee
 */
public class DeallocTree extends VyrazTree {

    public DeallocTree(Position p1, Position p2) {
        super(p1,p2);
    }

    @Override
    public Type getType() {
        return Type.ARRAY;
    }

    @Override
    public String toString() {
        return String.format("Dealloc %s", super.toString());
    }

    @Override
    public void generate(Context ctx) {
       ctx.println("dealloc");  
    }
}
